-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Int64 values within IO#read_at
#10356
Conversation
Oh, I would have thought they would have been upcasted... |
We'll' need overloads to accept at least |
Yeah, I would have liked that too... |
Add overload to accept Int32s
@straight-shoota Fixed in latest commit. @asterite Yea that feature would have been perfect here. No reason not to do that that I can think of. |
Checking, why is this PR a breacking-change? |
Fixes #10032.
The C bindings have this arg typed as
SizeT
, which from what I know is an unsigned int. Do we need to worry/do anything about the case where an Int64 is passed on a 32bit system where a sufficiently large enough Int64 would overflow a UInt32?